<!-- 变更注册-->
<div class="nav-tabs-custom" *ngIf="isShowProdInput=='bgzc'">
  <ul class="nav nav-tabs">
    <li class="active">
      <a href="#tab_1" data-toggle="tab" (click)="clearFileType()">基础信息</a>
    </li>
    <li>
      <a href="#tab_2" data-toggle="tab" (click)="loadFileTree()">产品文件</a>
    </li>
  </ul>
  <div class="tab-content" id="11">
    <div class="tab-pane active" id="tab_1">
      <h4 class="title">基本信息</h4>
      <form class="form-horizontal" #registrationForm="ngForm">
        <div class="form-group">
          <label class="col-lg-2 text-right">
            <span class="span-style">*</span>产品简称</label>
          <div class="col-lg-3" [class.has-error]="sFundName.valid ===false && (sFundName.dirty || sFundName.touched)">
            <input class="form-control" maxlength="50" type="text" name="sFundName" #sFundName="ngModel" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sFundName">
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">产品名称</label>
          <div class="col-lg-3">
            <input class="form-control" type="text" maxlength="50" name="sFullName" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sFullName">
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">
            <span class="span-style">*</span>产品类型</label>
          <div class="col-lg-3">
            <input class="form-control" type="text" placeholder="公募" disabled>
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">产品代码</label>
          <div class="col-lg-3">
            <input class="form-control form-fields" maxlength="20" type="text" name="sFundCode" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sFundCode"
              disabled>
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">
            <span class="span-style">*</span>基金类别</label>
          <div class="col-lg-3">
            <select class="form-control" name="sFundCategory" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sFundCategory">
              <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.FUND_CATEGORY_GM">{{item.sItemValue}}</option>
            </select>
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">
            <span class="span-style">*</span>QDII</label>
          <div class="col-lg-3">
            <select class="form-control" name="sIsQdii" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sIsQdii">
              <option [value]="1">是</option>
              <option [value]="0">否</option>
            </select>
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">
            <span class="span-style">*</span>基金运作方式</label>
          <div class="col-lg-3">
            <!-- <input class="form-control form-fields" maxlength="500" type="text" name="sInvestStyle" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sInvestStyle"> -->
            <!-- <select class="form-control" name="sInvestStyle" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sInvestStyle">
              <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.INVEST_STYLE">{{item.sItemValue}}</option>
            </select> -->
            <select class="form-control select2" maxlength="25" id="sInvestStyleSelected" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sInvestStyle" name="sInvestStyle">
              <option [value]="''">--请选择--</option>
              <option [value]="item.sItemValue" *ngFor="let item of distionary.INVEST_STYLE">{{item.sItemValue}}</option>
            </select>
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">
            <span class="span-style">*</span>基金经理</label>
          <div class="col-lg-3">
            <!-- <input class="form-control form-fields" maxlength="25" name="sPmName" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sPmName"> -->
            <select class="form-control select2 fields-select" multiple="multiple" name="managerSelectList" [(ngModel)]="managerSelectList">
              <option [value]="item.sUserName" *ngFor="let item of managerList">{{item.sUserAndDept}}</option>
            </select>
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">
            <span class="span-style">*</span>是否上市基金</label>
          <div class="col-lg-3">
            <select class="form-control" name="sListType" (change)="changeExchangeStatus()" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sListType">
              <option [value]="1">是</option>
              <option [value]="0">否</option>
            </select>
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">
            <span class="span-style">*</span>交易所</label>
          <div class="col-lg-3">
            <select class="form-control" name="sExchange" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sExchange" [disabled]="bgzcInfo.publicissueBasicInfo.sListType == 0">
              <option [value]="''" selected="selected">--请选择--</option>
              <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.EXCHANGE">{{item.sItemValue}}</option>
            </select>
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">托管行</label>
          <div class="col-lg-3">
            <!-- <input class="form-control form-fields" type="text" maxlength="500" name="sBank" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sBank"> -->
            <select class="form-control" maxlength="25" id="sTrusteeSelected" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sBank" name="sBank">
              <option [value]="''">--请选择--</option>
              <option [value]="item.sItemValue" *ngFor="let item of distionary.TRUSTEE">{{item.sItemValue}}</option>
            </select>
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">托管行确定时间</label>
          <div class="col-lg-3">
            <div class="input-group date form_datetime">
              <span class="input-group-addon">
                <i class="fa fa-calendar"></i>
              </span>
              <input class="form-control" type="text" [(ngModel)]="bgzcInfo.publicissueBasicInfo.dBankConfirm" mwlFlatpickr [ngModelOptions]="{standalone: true}"
                style="background:white;cursor: pointer;">
            </div>
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">管理费(%)</label>
          <div class="col-lg-3">
            <input class="form-control form-fields" maxlength="2000" name="sManagementFee" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sManagementFee"
              [attr.title]="bgzcInfo.publicissueBasicInfo.sManagementFee">
            <!-- <input class="form-control form-fields" maxlength="2000" [min]="0" #sManagementFee="ngModel" name="sManagementFee" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sManagementFee">
            <p *ngIf="sManagementFee.errors?.min" class="errorTip">请输入正数</p> -->
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">托管费(%)</label>
          <div class="col-lg-3">
            <input class="form-control form-fields" maxlength="2000" name="sTrusteeFee" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sTrusteeFee"
              [attr.title]="bgzcInfo.publicissueBasicInfo.sTrusteeFee">
            <!-- <input class="form-control form-fields" maxlength="2000" [min]="0" #sTrusteeFee="ngModel" name="sTrusteeFee" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sTrusteeFee">
            <p *ngIf="sTrusteeFee.errors?.min" class="errorTip">请输入正数</p> -->
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">其他费用</label>
          <div class="col-lg-3">
            <input class="form-control form-fields" maxlength="25" name="sOtherFee" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sOtherFee"
              type="text" value="">
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">业绩比较基准</label>
          <div class="col-lg-3">
            <input class="form-control form-fields" name="sBenchmark" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sBenchmark" type="text">
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">发行日期</label>
          <div class="col-lg-3">
            <div class="input-group date form_datetime">
              <span class="input-group-addon">
                <i class="fa fa-calendar"></i>
              </span>
              <input class="form-control" type="text" [(ngModel)]="bgzcInfo.publicissueBasicInfo.dIssue" mwlFlatpickr [ngModelOptions]="{standalone: true}"
                style="background:white;cursor: pointer;">
            </div>
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">成立日期</label>
          <div class="col-lg-3">
            <div class="input-group date form_datetime">
              <span class="input-group-addon">
                <i class="fa fa-calendar"></i>
              </span>
              <input class="form-control" name="dEstablishment" [(ngModel)]="bgzcInfo.publicissueBasicInfo.dEstablishment" type="text"
                mwlFlatpickr style="background: white; cursor: pointer;">
            </div>
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">创建日期</label>
          <div class="col-lg-3">
            <div class="input-group date form_datetime">
              <span class="input-group-addon">
                <i class="fa fa-calendar"></i>
              </span>
              <input class="form-control" type="text" [(ngModel)]="ngzcCreateDate" mwlFlatpickr [ngModelOptions]="{standalone: true}" style="cursor: pointer;"
                disabled>
            </div>
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">创建人</label>
          <div class="col-lg-3">
            <input class="form-control form-fields" name="sCreator" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sCreator" type="text"
              disabled>
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">投资范围</label>
          <div class="col-lg-9">
            <textarea style="width:100%" name="sInvestScope" maxlength="2000" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sInvestScope"
              cols="15" rows="5"></textarea>
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">备注</label>
          <div class="col-lg-9">
            <textarea style="width:100%" name="sRemark" maxlength="250" [(ngModel)]="bgzcInfo.publicissueBasicInfo.sRemark" cols="15"
              rows="5"></textarea>
          </div>
        </div>
        <div class="form-group">
          <button style="margin-left:25px !important" type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
          <button type="button" class="btn btn-primary pull-right" (click)="editRegistrationChange()" [disabled]="bgzcSaveButton==true">
            <i class="fa fa-save"></i>保存</button>
        </div>
      </form>
    </div>
    <div class="tab-pane" id="tab_2">
      <div class="row">
        <div class="col-md-12">
          <div class="nav-tabs-custom remove-border">
            <ul class="nav nav-tabs ul-change" style="border-bottom-width: 0px;">
              <li id="tab4" *ngIf="_.includes(activeFileList,'jcwjGM')">
                <a id="jcwjGMContent" href="#tab_4" data-toggle="tab">基础文件</a>
              </li>
              <li id="tab5" *ngIf="_.includes(activeFileList,'spwjGM')">
                <a id="spwjGMContent" href="#tab_5" data-toggle="tab">审批文件</a>
              </li>
              <li id="tab6" *ngIf="_.includes(activeFileList,'cpgzwjGM')">
                <a id="cpgzwjGMContent" href="#tab_6" data-toggle="tab">产品改造文件</a>
              </li>
              <li id="tab7" *ngIf="_.includes(activeFileList,'qtwjGM')">
                <a id="qtwjGMContent" href="#tab_7" data-toggle="tab">其他文件</a>
              </li>
              <li id="tab8" *ngIf="_.includes(activeFileList,'historyGM')">
                <a id="historyGMContent" href="#tab_8" data-toggle="tab">历史附件</a>
              </li>
            </ul>
            <div class="tab-content" id="12" style="padding:0px !important">
              <!-- 基础文件开始 -->
              <div class="tab-pane" id="tab_4">
                <table class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of jcwjGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'jcwjGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'jcwjGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'jcwjGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <!-- 基础文件结束 -->
              <!-- 审批文件开始 -->
              <div class="tab-pane" id="tab_5">
                <table id="spwj-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of spwjGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'spwjGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'spwjGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'spwjGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <!-- 审批文件结束 -->
              <!-- 产品改造文件开始 -->
              <div class="tab-pane" id="tab_6">
                <table id="cpgz-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of cpgzGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'cpgzGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'cpgzGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'cpgzGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>
                  </tbody>

                </table>
              </div>
              <!-- 产品改造文件结束 -->
              <!-- 其他文件开始 -->
              <div class="tab-pane" id="tab_7">
                <table id="qtwj-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of qtwjGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'qtwjGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'qtwjGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'qtwjGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>

                  </tbody>

                </table>
              </div>
              <!-- 其他文件结束 -->
              <!-- 历史附件开始 -->
              <div class="tab-pane" id="tab_8">
                <table id="historyGM-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of historyGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'historyGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'historyGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'historyGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>

                  </tbody>

                </table>
              </div>
              <!-- 历史附件结束 -->
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- /.tab-content -->
</div>
<!--变更注册end -->
<!-- 延期募集 -->
<div class="nav-tabs-custom" *ngIf="isShowProdInput=='yqmj'">
  <ul class="nav nav-tabs">
    <li class="active">
      <a href="#tab_26" data-toggle="tab" (click)="clearFileType()">基础信息</a>
    </li>
    <li>
      <a href="#tab_27" data-toggle="tab" (click)="loadFileTree()">产品文件</a>
    </li>
  </ul>
  <div class="tab-content" id="26">
    <div class="tab-pane active" id="tab_26">
      <form class="form-horizontal" style="margin-top:10px;">
        <div class="form-group">
          <label class="col-lg-2 text-right">延期募集报会时间
          </label>
          <div class="col-lg-3">
            <div class="input-group date form_datetime">
              <span class="input-group-addon">
                <i class="fa fa-calendar"></i>
              </span>
              <input class="form-control" type="text" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.dRaisePostponeBh" mwlFlatpickr [ngModelOptions]="{standalone: true}"
                style="background:white;cursor: pointer;">
            </div>
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">延期募集批复时间</label>
          <div class="col-lg-3">
            <div class="input-group date form_datetime">
              <span class="input-group-addon">
                <i class="fa fa-calendar"></i>
              </span>
              <input class="form-control" type="text" (ngModelChange)="calculateDraisePostponeHh($event)" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.dRaisePostponePf"
                mwlFlatpickr [ngModelOptions]="{standalone: true}" style="background:white;cursor: pointer;">
            </div>
          </div>
        </div>
        <div class="form-group">
          <label class="col-lg-2 text-right">延期回函到期日</label>
          <div class="col-lg-3">
            <div class="input-group date form_datetime">
              <span class="input-group-addon">
                <i class="fa fa-calendar"></i>
              </span>
              <input class="form-control" type="text" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.dRaisePostponeHh" mwlFlatpickr [ngModelOptions]="{standalone: true}"
                style="background:white;cursor: pointer;">
            </div>
          </div>
        </div>
        <div class="form-group">
          <button style="margin-left:25px !important" (click)="closeModal()" type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
          <button type="button" class="btn btn-primary pull-right" (click)="delayCollect('yqmj')">
            <i class="fa fa-save"></i>保存</button>
        </div>
      </form>
    </div>
    <div class="tab-pane" id="tab_27">
      <!-- 延期募集文件框 -->
      <div class="row">
        <div class="col-md-12">
          <div class="nav-tabs-custom remove-border">
            <ul class="nav nav-tabs ul-change" style="border-bottom-width: 0px;">
              <li id="tab18" *ngIf="_.includes(activeFileList,'jcwjGM')">
                <a id="jcwjGMContent" href="#tab_18" data-toggle="tab">基础文件</a>
              </li>
              <li id="tab19" *ngIf="_.includes(activeFileList,'spwjGM')">
                <a id="spwjGMContent" href="#tab_19" data-toggle="tab">审批文件</a>
              </li>
              <li id="tab20" *ngIf="_.includes(activeFileList,'cpgzwjGM')">
                <a id="cpgzwjGMContent" href="#tab_20" data-toggle="tab">产品改造文件</a>
              </li>
              <li id="tab21" *ngIf="_.includes(activeFileList,'qtwjGM')">
                <a id="qtwjGMContent" href="#tab_21" data-toggle="tab">其他文件</a>
              </li>
              <li id="tab17" *ngIf="_.includes(activeFileList,'historyGM')">
                <a id="historyGMContent" href="#tab_17" data-toggle="tab">历史附件</a>
              </li>
            </ul>
            <div class="tab-content" id="13" style="padding:0px !important">
              <!-- 基础文件开始 -->
              <div class="tab-pane" id="tab_18">
                <table class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of jcwjGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'jcwjGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'jcwjGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'jcwjGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <!-- 基础文件结束 -->
              <!-- 审批文件开始 -->
              <div class="tab-pane" id="tab_19">
                <table id="spwj-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of spwjGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'spwjGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'spwjGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'spwjGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <!-- 审批文件结束 -->
              <!-- 产品改造文件开始 -->
              <div class="tab-pane" id="tab_20">
                <table id="cpgz-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of cpgzGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'cpgzGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'cpgzGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'cpgzGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>
                  </tbody>

                </table>
              </div>
              <!-- 产品改造文件结束 -->
              <!-- 其他文件开始 -->
              <div class="tab-pane" id="tab_21">
                <table id="qtwj-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of qtwjGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'qtwjGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'qtwjGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'qtwjGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>

                  </tbody>

                </table>
              </div>
              <!-- 其他文件结束 -->
              <!-- 历史附件开始 -->
              <div class="tab-pane" id="tab_17">
                <table id="historyGM-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of historyGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'historyGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'historyGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'historyGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>

                  </tbody>

                </table>
              </div>
              <!-- 历史附件结束 -->
            </div>
          </div>

        </div>
      </div>
      <!-- 延期募集文件筐end -->
    </div>
  </div>
</div>
<!-- 延期募集end -->
<!-- 调整费率持有人大会 -->
<div class="nav-tabs-custom" *ngIf="isShowProdInput=='tzfl'">
  <ul class="nav nav-tabs">
    <li class="active">
      <a href="#tab_28" data-toggle="tab" (click)="clearFileType()">基础信息</a>
    </li>
    <li>
      <a href="#tab_29" data-toggle="tab" (click)="loadFileTree()">产品文件</a>
    </li>
  </ul>
  <div class="tab-content" id="28">
    <div class="tab-pane active" id="tab_28">
      <form class="form-horizontal" style="margin-top:10px;">
        <div class="form-group">
          <label class="col-lg-2 text-right">调整费率持有人大会报会时间</label>
          <div class="col-lg-3">
            <div class="input-group date form_datetime">
              <span class="input-group-addon">
                <i class="fa fa-calendar"></i>
              </span>
              <input class="form-control" type="text" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.dRatePossessorMt" mwlFlatpickr [ngModelOptions]="{standalone: true}"
                style="background:white;cursor: pointer;">
            </div>
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">持有人大会公告时间</label>
          <div class="col-lg-3">
            <div class="input-group date form_datetime">
              <span class="input-group-addon">
                <i class="fa fa-calendar"></i>
              </span>
              <input class="form-control" type="text" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.dRatePossessorGg" mwlFlatpickr [ngModelOptions]="{standalone: true}"
                style="background:white;cursor: pointer;">
            </div>
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">持有人大会决议生效时间</label>
          <div class="col-lg-3">
            <div class="input-group date form_datetime">
              <span class="input-group-addon">
                <i class="fa fa-calendar"></i>
              </span>
              <input class="form-control" type="text" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.dRatePossessorJy" mwlFlatpickr [ngModelOptions]="{standalone: true}"
                style="background:white;cursor: pointer;">
            </div>
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">管理费(%)</label>
          <div class="col-lg-3">
            <input class="form-control form-fields" maxlength="2000" name="sManagementFee" [(ngModel)]="yqmjPostBody.publicissueBasicInfo.sManagementFee" [attr.title]="yqmjPostBody.publicissueBasicInfo.sManagementFee">
            <!-- <input class="form-control form-fields" [min]="0" maxlength="50" #sManagementFee="ngModel" name="sManagementFee" [(ngModel)]="yqmjPostBody.publicissueBasicInfo.sManagementFee">
            <p *ngIf="sManagementFee.errors?.min" class="errorTip">请输入正数</p> -->
          </div>
        </div>

        <div class="form-group">
          <label class="col-lg-2 text-right">托管费(%)</label>
          <div class="col-lg-3">
            <input class="form-control form-fields" maxlength="2000" name="sTrusteeFee" [(ngModel)]="yqmjPostBody.publicissueBasicInfo.sTrusteeFee" [attr.title]="yqmjPostBody.publicissueBasicInfo.sTrusteeFee">
            <!-- <input class="form-control form-fields" [min]="0" maxlength="50" #sTrusteeFee="ngModel" name="sTrusteeFee" [(ngModel)]="yqmjPostBody.publicissueBasicInfo.sTrusteeFee">
            <p *ngIf="sTrusteeFee.errors?.min" class="errorTip">请输入正数</p> -->
          </div>
          <div class="col-lg-1"></div>
          <label class="col-lg-2 text-right">其他费用</label>
          <div class="col-lg-3">
            <input class="form-control form-fields" name="sOtherFee" maxlength="25" [(ngModel)]="yqmjPostBody.publicissueBasicInfo.sOtherFee"
              type="text">
          </div>
        </div>
        <div class="form-group">
          <button style="margin-left:25px !important" (click)="closeModal()" type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
          <button type="button" class="btn btn-primary pull-right" (click)="delayCollect('tzfl')">
            <i class="fa fa-save"></i>保存</button>
        </div>
      </form>
    </div>
    <div class="tab-pane" id="tab_29">
      <div class="row">
        <div class="col-md-12">
          <div class="nav-tabs-custom remove-border">
            <ul class="nav nav-tabs ul-change" style="border-bottom-width: 0px;">
              <li id="tab22" *ngIf="_.includes(activeFileList,'jcwjGM')">
                <a id="jcwjGMContent" href="#tab_22" data-toggle="tab">基础文件</a>
              </li>
              <li id="tab23" *ngIf="_.includes(activeFileList,'spwjGM')">
                <a id="spwjGMContent" href="#tab_23" data-toggle="tab">审批文件</a>
              </li>
              <li id="tab24" *ngIf="_.includes(activeFileList,'cpgzwjGM')">
                <a id="cpgzwjGMContent" href="#tab_24" data-toggle="tab">产品改造文件</a>
              </li>
              <li id="tab25" *ngIf="_.includes(activeFileList,'qtwjGM')">
                <a id="qtwjGMContent" href="#tab_25" data-toggle="tab">其他文件</a>
              </li>
              <li id="tab30" *ngIf="_.includes(activeFileList,'historyGM')">
                <a id="historyGMContent" href="#tab_30" data-toggle="tab">历史附件</a>
              </li>
            </ul>
            <div class="tab-content" id="15" style="padding:0px !important">
              <!-- 基础文件开始 -->
              <div class="tab-pane" id="tab_22">
                <table class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of jcwjGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'jcwjGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'jcwjGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'jcwjGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <!-- 基础文件结束 -->
              <!-- 审批文件开始 -->
              <div class="tab-pane" id="tab_23">
                <table id="spwj-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of spwjGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'spwjGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'spwjGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'spwjGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <!-- 审批文件结束 -->
              <!-- 产品改造文件开始 -->
              <div class="tab-pane" id="tab_24">
                <table id="cpgz-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of cpgzGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'cpgzGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'cpgzGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'cpgzGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>
                  </tbody>

                </table>
              </div>
              <!-- 产品改造文件结束 -->
              <!-- 其他文件开始 -->
              <div class="tab-pane" id="tab_25">
                <table id="qtwj-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of qtwjGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'qtwjGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'qtwjGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'qtwjGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>

                  </tbody>

                </table>
              </div>
              <!-- 其他文件结束 -->
              <!-- 历史附件开始 -->
              <div class="tab-pane" id="tab_30">
                <table id="historyGM-table" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                  <thead>
                    <tr>
                      <th class="width-25">附件类型</th>
                      <th class="width-30">附件名</th>
                      <th class="width-12">上传者</th>
                      <th class="width-15">上传时间</th>
                      <th class="width-5">版本</th>
                      <th class="width-13">操作</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr *ngFor="let item of historyGMDataList">
                      <td *ngIf="item.sType!=''" [attr.rowspan]="item.subNodeL" style="background-color:white; border:0.1px solid #E9E9E9">
                        {{item.sType}}
                        <a title="点击新增" (click)="addSubTreeItem(item,'historyGM')">
                          <i class="fa fa-plus-circle" style="margin-left:2px;"></i>
                        </a>
                      </td>
                      <td class="short_name" [attr.title]="item.sAttachName">
                        <div *ngIf="item.editStatus==0">
                          <a (dblclick)="editFileName(item,'historyGM')">{{item.sAttachName}}</a>
                        </div>
                        <div *ngIf="item.editStatus==1">
                          <div class="input-group">
                            <input class="form-control" [(ngModel)]="item.fileName" name="filename">
                            <a class="input-group-addon" (click)="changeFileName(item)">确定</a>
                            <a class="input-group-addon" (click)="cancelEditFileName(item,'historyGM')">取消</a>
                          </div>
                        </div>
                      </td>
                      <td class="short_name">{{item.sCreator}}</td>
                      <td class="short_name">{{item.dCreateTime}}</td>
                      <td>
                        <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                      <td>
                        <a (click)="showUploadModal(item)" href="javascript:void(0)" title="上传" type="file">
                          <i class="glyphicon glyphicon-open"></i>
                        </a>
                        <a (click)="downLoadFile(item)" href="javascript:void(0)" title="下载">
                          <i class="glyphicon glyphicon-download-alt"></i>
                        </a>
                        <a (click)="showHistoryVersion(item)" class="remove" href="javascript:void(0)" title="查看全部版本">
                          <i class="glyphicon glyphicon-list-alt"></i>
                        </a>
                      </td>
                    </tr>

                  </tbody>

                </table>
              </div>
              <!-- 历史附件结束 -->
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<!-- 调整费率持有人大会end -->
<!-- 增设份额、其他变更 -->
<div *ngIf="isShowProdInput=='zsfe'">
  <form class="form-horizontal">
    <div class="form-group">
      <label class="col-lg-2 text-right">变更备案上报时间</label>
      <div class="col-lg-3">
        <div class="input-group date form_datetime">
          <span class="input-group-addon">
            <i class="fa fa-calendar"></i>
          </span>
          <input class="form-control" type="text" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.dChgRecordSb" mwlFlatpickr [ngModelOptions]="{standalone: true}"
            style="background:white;cursor: pointer;">
        </div>
      </div>
      <div class="col-lg-1"></div>
      <label class="col-lg-2 text-right">公告时间</label>
      <div class="col-lg-3">
        <div class="input-group date form_datetime">
          <span class="input-group-addon">
            <i class="fa fa-calendar"></i>
          </span>
          <input class="form-control" type="text" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.dChgSb" mwlFlatpickr [ngModelOptions]="{standalone: true}"
            style="background:white;cursor: pointer;">
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-lg-2 text-right">其他增设份额内容</label>
      <div class="col-lg-10">
        <textarea style="width:100%" name="sZshRemarkChg" maxlength="250" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.sZshRemarkChg"
          id="" cols="15" rows="5"></textarea>
      </div>
    </div>
  </form>
</div>
<div *ngIf="isShowProdInput=='qtbg'">
  <form class="form-horizontal">
    <div class="form-group">
      <label class="col-lg-2 text-right">变更备案上报时间</label>
      <div class="col-lg-3">
        <div class="input-group date form_datetime">
          <span class="input-group-addon">
            <i class="fa fa-calendar"></i>
          </span>
          <input class="form-control" type="text" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.dOtherchgRecordSb" mwlFlatpickr
            [ngModelOptions]="{standalone: true}" style="background:white;cursor: pointer;">
        </div>
      </div>
      <div class="col-lg-1"></div>
      <label class="col-lg-2 text-right">公告时间</label>
      <div class="col-lg-3">
        <div class="input-group date form_datetime">
          <span class="input-group-addon">
            <i class="fa fa-calendar"></i>
          </span>
          <input class="form-control" type="text" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.dOtherChgGg" mwlFlatpickr [ngModelOptions]="{standalone: true}"
            style="background:white;cursor: pointer;">
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-lg-2 text-right">其他变更内容</label>
      <div class="col-lg-10">
        <textarea style="width:100%" name="sRemarkChg" maxlength="250" [(ngModel)]="yqmjPostBody.publicissueExamineInfo.sRemarkChg"
          id="" cols="15" rows="5"></textarea>
      </div>
    </div>
  </form>
</div>
<!-- 增设份额、其他变更end -->
<!-- 上传资料 start -->
<div class="modal fade" id="uploadModel">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button (click)="clearFileQueue()" type="button" class="close" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
        <h4 class="modal-title">上传文件</h4>
      </div>
      <div class="modal-body">
        <form class="form-inline">
          <div class="form-group">
            <label for="fileInput">请选择要上传的文件：</label>
            <input type="file" name="file" class="form-control filenamex" id="fileInput" ng2FileSelect [uploader]="uploader" (change)="selectedFileOnChanged($event)">
            <!-- 选择文件默认支持选择单个文件，如需支持文件多选，请在标签中添加multiple属性 -->
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" (click)="clearFileQueue()">取消</button>
        <button type="submit" class="btn btn-primary" [disabled]="!fileStatus" (click)="uploadFile()">上传</button>
      </div>
    </div>
  </div>
</div>

<div *ngIf="isShowProdInput == 'zsfe' || isShowProdInput == 'qtbg'">
  <button type="button" class="btn btn-default pull-left" data-dismiss="modal">关闭</button>
  <button type="button" class="btn btn-primary pull-right" *ngIf="isShowProdInput == 'zsfe'" (click)="delayCollect('zsfe')">
    <i class="fa fa-save"></i>保存</button>
  <button type="button" class="btn btn-primary pull-right" *ngIf="isShowProdInput == 'qtbg'" (click)="delayCollect('qtbg')">
    <i class="fa fa-save"></i>保存</button>
</div>

<!-- 上传资料 end -->
<!-- 文件上传进度 -->
<div class="modal fade" id="progress">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">

      </div>
      <div class="modal-body">
        <form class="form-inline" style="text-align:center;">
          <div style="margin-top:35px;margin-bottom:35px;">文件上传中...</div>
        </form>
      </div>
      <div class="modal-footer">

      </div>
    </div>
  </div>
</div>
<!-- 文件上传进度 end -->
<!-- 历史附件modal -->
<div class="modal fade in" id="GM" style="display: none; padding-left: 0px;">
  <!--模态框-->
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <button class="close" data-dismiss="modal">×</button>
        <h4>历史附件</h4>
      </div>
      <div class="modal-body">
        <div class="bootstrap-table">
          <div class="fixed-table-toolbar"></div>
          <div class="fixed-table-container" style="padding-bottom: 0px;">
            <div class="fixed-table-header" style="display: none;">
              <table></table>
            </div>
            <div class="fixed-table-body">
              <table id="fileVersion-listTable" class="table  table-hover table-striped" style="border-top-width:0px;border-left-width:0px;">
                <thead>
                  <tr>
                    <th class="width-25">附件类型</th>
                    <th class="width-30">附件名</th>
                    <th class="width-12">上传者</th>
                    <th class="width-15">上传时间</th>
                    <th class="width-5">版本</th>
                    <th class="width-13">操作</th>
                  </tr>
                </thead>
                <tbody>
                  <tr data-index="0" *ngFor="let item of fileHistoryData">
                    <td class="short_name">{{item.sAttachType}}</td>
                    <td class="short_name">{{item.sAttachName}}</td>
                    <td>{{item.sCreator}}</td>
                    <td>{{item.dCreateTime}}</td>
                    <td>
                      <span *ngIf="item.nVersion !== null&& item.nVersion !==''">V</span>{{item.nVersion}}</td>
                    <td>
                      <a (click)="downLoadFile(item)" class="glyphicon glyphicon-download-alt downloadlink fileVersion-list-glyphicon" target="_blank"
                        title="下载" alt="下载"></a>
                      <a (click)="delFile(item)" class="glyphicon glyphicon-trash fileVersion-list-glyphicon" href="javascript:void(0)" title="删除"
                        alt="删除"></a>
                    </td>
                  </tr>

                </tbody>
              </table>
            </div>
            <div class="fixed-table-footer" style="display: none;">
              <table>
                <tbody>
                  <tr></tr>
                </tbody>
              </table>
            </div>

          </div>
        </div>
        <div class="clearfix"></div>
      </div>
      <div class="modal-footer">
        <div class="form-group">
          <div class="col-sm-4 col-sm-offset-3">
            <button type="button" class="btn btn-primary" (click)="closeModal()">关闭</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>